package com.shujia.duotai_work.exer;

public class SeaFoodPizza extends Pizza {
    private String batching;

    public SeaFoodPizza() {
    }

    public SeaFoodPizza(double price, String size, String batching) {
        super("海鲜披萨", price, size);
        this.batching = batching;
    }

    @Override
    public void display() {
        System.out.println("名称:" + getName());
        System.out.println("价格:" + getPrice());
        System.out.println("大小:" + getSize());
        System.out.println("配料:" + batching);
    }
}
